<?php
class UserGuestbookForm extends Zend_Form {
    public function __construct($options = null) 
    {
    	$baseurl = new MHDEV_View_Helper_BaseUrl();
    	
        parent::__construct($options);
        
        $this->setName('user_guestbook');
        
		// text
		$text = new Zend_Form_Element_Textarea('text');
		$text->setLabel(Zend_Registry::get('lang')->_('messages_form_text'));
		$text->setAttribs(array('cols' => 50, 'rows' => 10));
		$text->setRequired(true);
        
		// submit
		$submit = new Zend_Form_Element_Submit('submit');
		$submit->setLabel(Zend_Registry::get('lang')->_('form_send'));
        
        $this->addElements(array($text, $submit));
    }
}